package com.woody.aggregate.app.web.user;

import com.woody.base.model.Response;
import com.woody.base.util.ResponseUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author hzy
 * @date 2024/12/26 下午4:00
 */
@RequestMapping("/user")
@Api(tags = "user接口")
@RestController
@AllArgsConstructor
@Slf4j
public class UserController {

    @GetMapping("/getUser")
    @ApiOperation(value = "getUser", notes = "getUser")
    public Response<String> getUser(){
        return Response.success("test");
    }
}
